<?php 
include("public/includes/header.php");
include("public/includes/mainleft.php");
include("public/includes/hinhcuontheotrang.html"); 
?>
	<div id="mainnaviright">
   <div id="topmenu">
            <ul>
                <li><a href="#">Danh lam</a></li>
                <li><a href="#">Di tích</a></li>
                <li><a href="#">Khu du lịch</a></li>
                <li><a href="#">Khách sạn</a></li>
                <li><a href="#" class="no_border">Ẩm thực</a></li>
            
            </ul>
        
        </div>
    	<div id="noidung">
        	<fieldset>
        	   <legend><strong>Gởi ý kiến</strong></legend>
        	   <form id="submit" action="./?rt=ykien" method="post" name="submitform" class="form-validate">
        			<p>Tên </p><input type="text" name="ten" class="text required"/>
        			<p class="email">Email </p>
                    <input type="text" name="email" id="email" class="text required email"/>
        			<p class="chude">Chủ đề </p><input type="text" name="subject" class="text required"/>
        			<p class="thongdiep">Nội dung</p>
        			<textarea cols="40" rows="8" name="thongdiep" class="required" ></textarea></p>
        			<input type="submit" name="submit" value="Gởi ý kiến" class="button" /> 
                    <input type="reset" name="reset" value="Reset" class="button"/>
        	   </form>
        	</fieldset>	
        </div>   <!-- end div nội dung-->
        <br /><br /><hr /><br />
        
        <div class="recentComment">
            <h2>Các ý kiến gần đây</h2>
        <?php
            foreach($this->comment as $key => $value){
                echo '<div class="wrap-comment">
                        <img src="public/images/avatar.png" height="48" width="48" alt="avatar" />
                          <div class="nd-subcomment" >
                              <h3>'.$value['subject'].'</h3>
                              <p class="nd-comment">'.$value['content'].'</p>
                              <p class="nd-comment-by">'.$value['name'].'&nbsp;<span>'.$value['email'].'</span></p>
                          </div>
                        </div>';   
            }
        ?>
            
            
            
        </div>
    
<?php include("public/includes/footer.php"); ?>